﻿using GalaSoft.MvvmLight;

namespace RPGOnlineWPF.SceneGraph
{
	public class Node : ObservableObject
	{
		private object m_tag;
		private Node m_parent;

		public object Tag
		{
			get { return m_tag; }
			set
			{
				m_tag = value;
				RaisePropertyChanged(() => Tag);
			}
		}

		public Node Parent
		{
			get { return m_parent; }
			set
			{
				m_parent = value;
				RaisePropertyChanged(() => Parent);
			}
		}

		public Node(object tag = null)
		{
			Tag = tag;
		}
	}
}